package com.example.treasureadmin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods")
public class GoodsModel {
    @TableId(type = IdType.AUTO)
    private int id;
    private String imageUrl;
    private String name;
    private int number;
    private int price;
}